Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php /* Template Name: Homepage Template */ ?>
- <?php get_header(); ?>
- <div id="outerbanner">
- <div class="container">
- <div class="row">
- <!-- Appointment Section Start-->
- <div class="col-md-3">
- <div class="widget cs_widget_book_appointment">
- <!-- Appointment Section Start-->
- <div id="cs-appointment">
- <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Appointment')): ?>
- Please add some widgets here. <?php endif; ?>
- </div>
- <!-- Appointment Section Close-->
- </div>
- </div>
- <div class="col-md-9">
- <div id="banner">
- <?php echo do_shortcode('[pjc_slideshow slide_type="homepage"]'); ?>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div id="main">
- <div class="container">
- <div class="row">
- <div class="col-md-12 ">
- <div class="row">
- <div class="element_size_100 our-serviceswrap">
- <!-- Our Classes -->
- <div class="cs-cycle-controls">
- <span id="cycle-prev" class="btnprev"></span><span id="cycle-next" class="btnnext"></span>
- </div>
- <div class="team-shortcode teamcarousel">
- <div class="cycle-slideshow" data-cycle-timeout="0" data-cycle-fx="carousel" data-cycle-slides="article" data-cycle-carousel-fluid="false" data-allow-wrap="true" data-cycle-next="#cycle-next" data-cycle-prev="#cycle-prev" style="position: relative; overflow: hidden;">
- <div class="cycle-carousel-wrap" style="position: absolute; white-space: nowrap;">
- <div class="our-services services-grid">
- <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Services')): ?>
- Please add some widgets here. <?php endif; ?>
- </div>
- </div>
- </div>
- </div>
- <!-- Our Classes Close -->
- </div>
- </div>
- <?php if (have_posts()) : ?>
- <?php while (have_posts()) : the_post(); ?>
- <div class="cs-productbanner home-content">
- <h1><?php the_title(); ?>
- </h1>
- <?php the_content(', '); ?>
- </div>
- <?php endwhile; ?>
- <?php else : ?>
- <?php endif; ?>
- <!-- Qoute Start -->
- <div class="row">
- <div class="element_size_100">
- <header class="cs-heading-title">
- <h2 class="cs-section-title cs-colr-alt">Meet Our Doctors</h2>
- <div class="cs-cycle-controls">
- <a href="http://www.moc-uae.com/meet-our-doctors/" class="btnviewall">View All</a><span id="cycle-prev6" class="btnprev"></span><span id="cycle-next6" class="btnnext"></span>
- </div>
- </header>
- <div class="team-shortcode teamcarousel">
- <div class="cycle-slideshow" data-cycle-timeout="0" data-cycle-fx="carousel" data-cycle-slides="article" data-cycle-carousel-fluid="false" data-allow-wrap="true" data-cycle-next="#cycle-next6" data-cycle-prev="#cycle-prev6" style="position: relative; overflow: hidden;">
- <div class="cycle-carousel-wrap" style="position: absolute; white-space: nowrap;">
- <?php global $post; $args = array( 'category' =>
- 2, 'post_type' => 'doctors', 'posts_per_page' => '50' ); $myposts = get_posts( $args ); foreach( $myposts as $post ) : setup_postdata($post); ?> <article class="cycle-slide slide-extra"><a href="<?php the_permalink(); ?>"><figure><?php echo get_the_post_thumbnail( $page->
- ID, 'full' ); ?> </figure>
- <div class="text" style="float:none !important;">
- <h2><?php the_title(); ?>
- </h2>
- <?php the_excerpt(); ?>
- </div>
- </a></article><?php endforeach; ?>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- Row End -->
- </div>
- </div>
- <!-- Content Section End -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment